package com.dcw.lixb.designmode.mediator;

/**
 * @author lixiaobin
 * @date 2020-07-28 14:52:26
 * @desc 描述信息
 */
public class User {
    public User(String name) {
        this.name = name;
    }

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void sendMessage(String message) {
        ChatRoom.showMessage(this,message);
    }
}
